home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Serving Financial Service…olutions Suite 1994 Fall
/
Serving Financial Services Solutions Suite 1994 Fall.iso
/
GS_Apps
/
eXTRAPRINT
/
eXTRAPRINT_Server.pkg
/
eXTRAPRINT_Server.pre_install
< prev
next >
Wrap
Text File
|
1994-03-01
|
665b
|
23 lines
#!/bin/sh
if whoami | grep -s root
then
echo "OK, you are root"
mkdirs /usr/local/lib/ColorXPrinter
mkdirs /LocalLibrary/PrinterTypes/CustomPrinters
chmod a+w /LocalLibrary/PrinterTypes/CustomPrinters
if test -r /usr/local/lib/ColorXPrinter/cxserver
then
echo "Making backup copy of cxserver, as cxserver.old"
cp /usr/local/lib/ColorXPrinter/cxserver /usr/local/lib/ColorXPrinter/cxserver.old
fi
if test -f /usr/local/lib/ColorXPrinter/opi_path
then
echo "Making backup copy of opi_path, will be reinstated"
cp /usr/local/lib/ColorXPrinter/opi_path /usr/local/lib/ColorXPrinter/opi_path.bak
fi
exit 0
else
echo "Must be run as root"
exit 20
fi